package com.woniuxy.util;

import lombok.AllArgsConstructor;
import lombok.Getter;

@AllArgsConstructor
@Getter
public enum ResponseEnum {
    OK(200,"操作成功"),
    FAIL(400,"操作失败"),
    LOGIN_ERROR(401,"登录失败"),
    NOTLOGIN(402,"未登录"),
    SYS_BUSY(501,"系统繁忙"),
    KILL_END(502,"秒杀结束"),
    NO_AUTH(503,"没有权限"),
    ERROR(500,"服务器错误");


    private Integer code;
    private String msg;
}
